package fr.oz.core.fonts 
{
	/**
	 * ...
	 * @author Fazermokeur
	 */
	public class FontFormat
	{
		//--------------------------------------------------------------------------
		//
		//  Constructor
		//
		//--------------------------------------------------------------------------
		public function FontFormat() { }
		
		
		//--------------------------------------------------------------------------
		//
		//  Public static methods
		//
		//--------------------------------------------------------------------------
		public static function getFontFormat(fontList:Vector.<FontListDatas>, id:uint):String
		{
			var fontStr:String;
			if (fontList != null) {
				var font:FontsData = Fonts(FontList.fonts[id].name);
				fontStr = font.fontName;
			} else {
				fontStr = "_sans";
			}
			
			return fontStr;
		}
		
	}

}